<div class="convocatorias form">
<?php echo $this->Form->create('Convocatoria');?>
	<fieldset>
 		<legend><?php __('Editar Convocatoria'); ?></legend>
 		<table>
		<tr><td><?php echo $this->Form->input('perfile_id', array('label'=>'Cargo'));?></td>
			<td><?php echo $this->Form->input('fecha_inicio');?></td>
			<td><?php echo $this->Form->input('fecha_fin');?></td>
			<td><?php echo $this->Form->input('tipo_contrato'); ?> </td>
		</tr>
		<tr>
			<td colspan="4">
				<?php echo $this->Form->select('departamentos', $departamentos, $departamentos_actuales, array('multiple'=>true), false);?>
				<?php //echo $this->Form->input('departamentos',array('type'=>'select','size'=>'6','options'=>$departamentos, 'multiple'=>true));?>
				<?php echo $this->Form->input('id');?>
			</td>
		</tr>
		<tr>
			<td><?php echo $this->Form->input('salario'); ?> </td>
			<td><?php echo $this->Form->input('salario_publicado'); ?></td>
			<td><?php echo $this->Form->input('estado'); ?></td>
			<td></td>
		</tr>
		<tr>			
			<td><?php echo $this->Form->input('certificacion'); ?></td>
			<td><?php echo $this->Form->input('prueba_requerida'); ?></td>
			<td><?php echo $this->Form->input('hoja_vida'); ?> </td>
			<td><?php echo $this->Form->end(__('Submit', true));?></td>
		</tr>
		</table>	
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<?php echo $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
</div>